package com.sudo.dao.admin.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Table(name = "sys_user_sts_day")
public class SysUserStsDay {
    @Id
    private Integer id;

    // 日期
    @Column(name = "date")
    private LocalDate date;

    // 登录人数
    @Column(name = "login_nop")
    private Integer loginNop = 0;

    // 登录人次
    @Column(name = "login_not")
    private Integer loginNot = 0;

    // 活跃度（操作数）
    @Column(name = "num_behavior")
    private Integer numBehavior = 0;

    // 创建时间
    @Column(name = "create_time")
    private LocalDateTime createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public Integer getLoginNop() {
        return loginNop;
    }

    public void setLoginNop(Integer loginNop) {
        this.loginNop = loginNop;
    }

    public Integer getLoginNot() {
        return loginNot;
    }

    public void setLoginNot(Integer loginNot) {
        this.loginNot = loginNot;
    }

    public Integer getNumBehavior() {
        return numBehavior;
    }

    public void setNumBehavior(Integer numBehavior) {
        this.numBehavior = numBehavior;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public SysUserStsDay() {
    }

    public SysUserStsDay(LocalDate date) {
        this.date = date;
    }
}
